import { navbar } from "vuepress-theme-hope";

export default navbar([
  {
    text: '目录',
    icon: 'sort',
    children: [
      { text: '博文', icon: 'list', link: '/posts' },
      { text: '页面配置', icon: 'category', link: '/parameter' }
    ],
  },
  {
    text: '索引',
    icon: 'jiansuo',
    children: [
      { text: '全部', icon: 'list', link: '/article' },
      { text: '分类', icon: 'category', link: '/category' },
      { text: '标签', icon: 'tag', link: '/tag' },
      { text: '时间轴', icon: 'time', link: '/timeline' },
    ],
  },
  {
    text: '收藏',
    icon: 'star',
    link: '/favorite',
    children: ['/favorite/links','/favorite/tool'],
  },
  {
    text: 'API测试',
    icon: 'ceshi',
    link: '/API',
  },
  '/about',
]);
